package com.fsnbigdata.service.api;


import com.fsnbigdata.domain.security.User;

import java.util.List;

/**
 * Created by fan.jin on 2016-10-15.
 */
public interface UserService {
    User save(User user);
    User findById(Long id);
    User findByUsername(String username);
    List<User> findAll();
    Long getAllImage();
    int getUserStatus(String username,String password);

    List queryByEmail(String email);
}
